package com.hsc.www.filterBean;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

@ServletComponentScan(value = "com.hsc.www.filterBean")
@SpringBootApplication
public class AppFilterBean extends SpringBootServletInitializer {

    public static void main(String[] args) {
        SpringApplication.run(AppFilterBean.class, args);
    }

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(AppFilterBean.class);
    }
}
